const fs = require('fs')
fs.writeFile('./file/鸭子.txt', '嘎嘎嘎!', function (err) {
  console.log(err)
})